using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_AUTH_RESPONSE_DEF : DefinitionBase
    {
        
        public override bool Process()
        {
            return true; //WHEN YOU NEED IT ONLY
            ResetPosition();

            ResponseCodes tResponseCodes = (ResponseCodes)ReadByte();
            UInt32 unkuint_1 = ReadUInt32(); // unknown random value...
            byte unkbyte_1 = ReadByte();
            UInt32 unkuint_2 = ReadUInt32();
            byte Expansion = ReadByte(); // 0 - normal, 1 - TBC, must be set in database manually for each account
            if (tResponseCodes != ResponseCodes.AUTH_OK)
            {
                UInt32 QueuePos = ReadUInt32();
            }
            return Validate();
        }


    }
}
